module.exports = {
    purge: ['./src/**/*.html', './src/**/*.tsx', './src/**/*.jsx'],
    darkMode: 'selector', // or 'media' or 'class'
    theme: {
        spacing: Array.from({ length: 500 }).reduce((map, _, index) => {
            map[index] = `${index}px`;
            return map;
        }, {}),
        extend: {},
    },
    variants: {
        extend: {},
    },
    plugins: [
        {
            ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}),
        },
    ],
};
